<template>
                    <!-- /* 解决配送时间样式布局bug */ -->
<div   class="content confirm-order-box" style="width: 100%;height: 100%;">
    <!--头部-->
    <!--<header class="aui-bar aui-bar-nav aui-bar-light">
        <div class="go-back" @click="goBack">
            <i></i>
            <i></i>
            <i></i>
        </div>
        <div class="aui-title">配送时间</div>
        class="vue_app"
    </header>-->
    <my-header :title="'配送时间'" :hasTitle="true" :hasBack="true" :goBack="goBack" ></my-header>
    <!--<div style="height: 3rem;"></div>-->
    <div style="flex: 1;overflow-y: auto;">
    	<div>
	        <!--配送地址-->
	        <div id="address" class="aui-content top_div">
	            <ul class="aui-list aui-media-list address_bj">
	                <li class="aui-list-item" style="text-align: left;">
	                    <div class="aui-media-list-item-inner">
	                        <div class="aui-list-item-label-icon">
	                            <i class="icon njfont nj-dizhi"></i>
	                        </div>
	                        <div class="aui-list-item-inner aui-list-item-arrow">
	                            <div class="aui-list-item-text">
	                                <div class="aui-list-item-title" style="width: 50%;"><strong>收货人：<span id="co_receiverName">{{name}}</span></strong><span
	                                        class="aui-font-size-14 text_c_gray"></span></div>
	                                <div id="co_receiverPhone" class="aui-list-item-right aui-font-size-14" style="width: 50%;">{{phone}}</div>
	                            </div>
	                            <p><span class="aui-label aui-label-info"><span
	                                    id="co_addressLabel"></span></span>&nbsp;<span id="co_deliveryAddress">{{address}}</span></p>
	                        </div>
	                    </div>
	                </li>
	            </ul>
	        </div>
	        <!--配送地址 end-->
	      	
	  		 <!--常规配送时间-->
	        <!--<div class="aui-content">
	            <ul class="aui-list lightred_bj">
	                <li class="aui-list-item">
	                    <div class="aui-list-item-label-icon">
	                        <i class="icon njfont nj-shijian"></i>
	                    </div>
	                    <div class="aui-list-item-inner">
	                        <div class="aui-list-item-title">送达时间：<span :class="{[idName]:true}">{{}}</span></div>
	                        <div class="aui-list-item-right">
	                            <div  class="aui-label aui-label-danger aui-label-outlined" @click="showPop">更改</div>
	                        </div>
	                    </div>
	                </li>
	            </ul>
	        </div>-->
	        <confirm-getTime ref="nomalTimeshow" :data1 = "normalTime" :data2 = "bigTime" :checkedCartListNormal="checkedCartListNormal" :checkedCartListBig="checkedCartListBig"  :hasBigFlag="checkedCartListBig.length > 0?true:false"  v-if="checkedCartListNormal.length > 0 || checkedCartListBig.length > 0"></confirm-getTime>
	        <!--<confirm-get-time :data1 = "normalTime"  :change=true idName="name1" :flag= true v-if="checkedCartListNormal.length > 0"></confirm-get-time>-->
	        <!--配送时间 end-->
	        <!--商品列表-->
	        <!-- 常规商品列表-->
	        <div class="aui-content choose_list" v-if="checkedCartListNormal.length > 0 || checkedCartListBig.length > 0">
	            <!--<ul class="aui-list aui-media-list">
	                <li class="aui-list-item iscroll_list">
	                    <div id="co_orderGoods" class="aui-media-list-item-inner scroller_list" style="overflow-x: scroll;">
							<div class="aui-list-item-media" v-for="goods in cartList">
								<img v-lazy="goodsImg(goods)"/>    
								<em>{{goods.goodsNum}}</em>
							</div>
	                    </div>
	                    <div class="aui-list-item-media" >
							
						</div>	
	                </li>
	            </ul>		-->
	             <ul class="aui-list aui-media-list">
	                <li class="aui-list-item iscroll_list">
	                    <div id="co_orderGoods" class="aui-media-list-item-inner scroller_list">
							<div class="aui-list-item-media" v-for="(item,index) in cartList" :key="index">
								<!--<img :src="goodsImg(item) || 'static/image/demo1.png'" style="height: 100%;"/>--> 
								<img v-lazy="goodsImg(item)" style="height: 100%;"/> 
								<em style="background:#EF5423;opacity: 0.6;">x{{item.goodsType == 7?'1':item.goodsNum}}</em>
							</div>	
							<!--为了让用户能看到最后一个盒子-->
							<div class="aui-list-item-media" >
								
							</div>	
	                    </div>
	                </li>
	            </ul>
	            <div class="aui-list-item-arrow statistics">
	                <p>共<span id="co_totalPiece">{{num}}</span>件</p>
	                <p id="co_totalPackage">{{allFlag?'2个包裹':'1个包裹'}}</p>
	            </div>
	        </div>
	        <!--商品列表 end-->
	      	
	      	
	      	<!--大件配送时间-->
	        <!--<div class="aui-content">
	            <ul class="aui-list lightred_bj">
	                <li class="aui-list-item">
	                    <div class="aui-list-item-label-icon">
	                        <i class="icon njfont nj-shijian"></i>
	                    </div>
	                    <div class="aui-list-item-inner">
	                        <div class="aui-list-item-title">送达时间：<span :class="{[idName]:true}">{{}}</span></div>
	                        <div class="aui-list-item-right">
	                            <div  class="aui-label aui-label-danger aui-label-outlined" @click="showPop">更改</div>
	                        </div>
	                    </div>
	                </li>
	            </ul>
	        </div>-->
	        <!--<confirm-get-time :data1 = "bigTime" :change=true idName="name2" :flag= false v-if="checkedCartListBig.length > 0"></confirm-get-time>-->
	        <!--配送时间 end-->
	       
	        <!--大件商品列表-->
	       <!--<div class="aui-content choose_list" v-if="checkedCartListBig.length > 0">
	            <ul class="aui-list aui-media-list">
	                <li class="aui-list-item iscroll_list">
	                    <div id="co_orderGoods" class="aui-media-list-item-inner scroller_list">
							<div class="aui-list-item-media" v-for="bigGoods in checkedCartListBig">
								<img :src="goodsImg(bigGoods)||'static/image/demo2.png'"/>
								<em>{{bigGoods.goodsNum}}</em>
							</div>
	                    </div>
	                </li>
	            </ul>			
	            <div class="aui-list-item-arrow statistics">
	                <p>共<span id="co_totalPiece">{{goodsNum(checkedCartListBig,0)}}</span>件</p>
	
	                <p id="co_totalPackage">"大件商品"</p>
	            </div>
	        </div>-->
	        <!--商品列表 end-->
	        
	        <!--<div class="aui-content choose_list">
	            <ul class="aui-list aui-media-list">
	                <li class="aui-list-item iscroll_list">
	                    <div id="co_orderGoods" class="aui-media-list-item-inner scroller_list">
	
	                    </div>
	                </li>
	            </ul>
	            <div class="aui-list-item-arrow statistics">
	                <p>共<span id="co_totalPiece">6</span>件</p>
	                <p id="co_totalPackage">1个包裹</p>
	            </div>
	        </div>-->
	        <!--商品列表 end-->
	        <!--信息列表-->
	        <div class="aui-content aui-margin-b-15">
	            <ul class="aui-list aui-list-in">
	                <!-- <li class="aui-list-item aui-list-item-arrow">
	                    <div class="aui-list-item-inner">
	                        <div class="aui-list-item-title">优惠券</div>
	                        <div class="aui-list-item-right">新人券</div>
	                    </div>
	                </li> -->
	                <li class="aui-list-item">
	                    <div class="aui-list-item-inner">
	                        <div class="aui-list-item-title">商品金额</div>
	                        <div id="co_totalMoney" class="aui-list-item-right" v-if="orderInfo.realPay">¥ {{(orderInfo.realPay).toFixed(2)}}</div>
	                    </div>
	                </li>
	                <!-- <li class="aui-list-item">
	                    <div class="aui-list-item-inner">
	                        <div class="aui-list-item-title">优惠金额</div>
	                        <div id="co_totalMinis" class="aui-list-item-right">暂无</div>
	                    </div>
	                </li> -->
	            </ul>
	        </div>
	        <!--信息列表 end-->
	        <div class="aui-content aui-margin-b-15">
	            <!--<ul class="aui-list aui-form-list liuyan">
	                <li class="aui-list-item">
	                    <div class="aui-list-item-inner">
	                        <div class="aui-list-item-label">买家留言：</div>
	                        <div class="aui-list-item-input">
	                            <p id="co_note" placeholder="选填：输入留言信息" style="text-align: right;">{{orderInfo.note?orderInfo.note:'暂无留言'}}</p>
	                        </div>
	                    </div>
	                </li>
	            </ul>-->
	            <ul class="aui-list aui-form-list liuyan" v-if="false">
	                <li class="aui-list-item">
	                    <div class="aui-list-item-inner" style="align-items:flex-start;">
	                        <div class="aui-list-item-label" style="line-height:2rem;">买家留言：</div>
	                        <div class="aui-list-item-input">
	                            <textarea maxlength="100" disabled="disabled" style="word-wrap:break-word;height: 2rem;">{{orderInfo.note?orderInfo.note:'暂无留言'}}</textarea>
	                        </div>
	                    </div>
	                </li>
	            </ul>
	        </div>
	        <div class="total_sf">
	            <h2><span id="co_realpay" v-if="orderInfo.realPay">实付金额：¥ {{(orderInfo.realPay).toFixed(2)}}</span> <p style="display: inline;" v-if="false">(省：¥ 1.00)</p> </h2>
	            <p>如需发票，请到门店索取</p>
	        </div>
	        <!--立即下单-->
	        <div style="height:4rem;"></div>
	        <!--去结算 end-->
	    </div>
    </div>
    <!-- /* 解决配送时间样式布局bug */ -->
     <div class="zxSettle_acount aui-btn aui-btn-danger aui-btn-block aui-btn-sm" style="height: 2.5rem;line-height: 2.5rem;border-radius: 0px;padding: 0px;font-size: 1rem;">
        <div @click="changeTime">去支付</div>
    </div>
</div>
</template>

<script>
import { Popup } from 'mint-ui';
import {mapGetters,mapMutations} from "vuex";
import {Toast} from '../../utils/toast.js';
import ConfirmGetTime from '../../real-components/ConfirmOrder/ConfirmGetTime';
import {getPageTree, initDomTree} from "../../utils/getPageTree";
import axios from "axios";
import MyHeader from "./../header";
import zxApi from '../../api/zxApi.js';
	export default {
	  	name: 'hello',
	  	data () {
	    	return {
				msg: '这是确认订单页面',
	            page: "comfirmOrder",
	           	orderInfo:{},
	           	chirldOrder:[],
	           	cartList:[],
	           	checkedCartListNormal:[],   //用于存放常规商品的数组
                checkedCartListBig:[],  //用于存放大件商品的数组
                
                listNormal:[],   //用于存放常规商品的数组 (获取时间)
                listBig:[],  //用于存放大件商品的数组(获取时间)
                maxTimeNormal:[],
                maxTimeBig:[],
                bigTimeList:[],
                normalTimeList:[],
	           	address:'',
	           	phone:'',
	           	name:'',
	           	num:null,
	           	allFlag:false
			}
		},
		computed: {
			...mapGetters([
				"getDomTree"
			]),
			...mapGetters('zx',[
				"getTimeNormal","getTimeBig","getOrderFlag"
			]),
			pageTree () {
				return getPageTree(this, this.page);
			},
			normalTime(){
				return this.normalTimeList;
			},
			bigTime(){
				return this.bigTimeList;
			},
		},
		components: {
			'ConfirmGetTime':ConfirmGetTime,
			"my-header": MyHeader,
	    },
	    methods: {
	    	...mapMutations('zx',[
        		"setTimeNormal","setTimeBig","setTimeSaveObj","setOrderFlag"
        	]),
        	goBack(){
                // window.history.back();
                var orderNo = this.$route.query.orderNo;
        		this.$router.replace('pay/'+orderNo);
        	},
//      	goodsImg(goodsItemData) {
//	            if (goodsItemData && goodsItemData.urllist) {
//	                if(goodsItemData.urllist.length) {
//	                	for(let i = 0 ; i < goodsItemData.urllist.length; i++){
//	                		if(goodsItemData.urllist[i].Imgurltype == 0){
//	                			return goodsItemData.urllist[i].imgurl || "static/image/demo2.png";
//	                		}
//	                	}
//	                } else {
//	                    return "static/image/demo2.png";
//	                }
//	            } else {
//	                return "static/image/demo2.png";
//	            }
//	        },
//			goodsNum(child,type) {
//	        	if(child.length != 0){
//	        		var num = null;
//	        		var money = null;
//	        		for(let i = 0 ; i < child.length; i++){
//		            	num += child[i].goodsNum;
//		            	money +=  child[i].goodsNum * child[i].goodsPrice;
//		           	}
//	        		money  = money.toFixed(2);
//	        		if(type == 0){
//	        			return num;
//	        		}else if(type == 1){
//	        			return money;
//	        		}
//	        	}
//	        },
 			getGoodsNum() {
   				console.log(this.cartList,'所有商品获取件数')
	        	if(this.cartList.length != 0){
	        		for(let i = 0 ; i < this.cartList.length; i++){
//						6 称重按只   7 称重散装
		            	if(this.cartList[i].goodsType == 7){
							this.num += 1
						}else{
							this.num += this.cartList[i].goodsNum;
						}
		            }
	        	}
	            
	        },
			//展示商品图片
			goodsImg(goodsItemData) {
	            if (goodsItemData && goodsItemData.urllist) {
	                if(goodsItemData.urllist.length) {
	                	for(let i = 0 ; i < goodsItemData.urllist.length; i++){
	                		if(goodsItemData.urllist[i].Imgurltype == 1){              		
	                			return goodsItemData.urllist[i].imgurl
	                		}
	                	}
	                } 
	            } 
	        },
	        getAllFlag(){
	        	if(this.checkedCartListNormal.length && this.checkedCartListBig.length){
					this.allFlag = true;
				}
	        },
	    	//查询订单信息
	       getOrderInfo() {
	       		var orderNo = this.$route.query.orderNo;
				let sess = window.localStorage.getItem('sessionId');
				// /order/selectOrderDetailYN/
//				let url = window.api.local_host + '/order/selectOrderDetailYN/' + orderNo;
				let url = window.api.trade_host+'/order/selectOrderDetail/' + orderNo;
				let config = {
					url: url,
					headers: {
						'sessionId': sess,
						'Content-Type': 'application/json',
						'Accept': 'application/json'
					}
				};
	
				axios(config).then(res => {
//					var query = '';
					var query = [];
					console.log(res.data.data[0],'res.data.data[0]')
					if(res.data.data[0]){
						
						this.orderInfo = res.data.data[0];
						this.chirldOrder = res.data.data[0].childOrderList;
					
						this.address = res.data.data[0].orderReceiverInfo.receiverAddress;
						this.phone = res.data.data[0].orderReceiverInfo.receiverPhone;
						this.name = res.data.data[0].orderReceiverInfo.receiverName;
						
//						console.log(this.chirldOrder[0].orderDetails[0].goodsDeliveryType,'嗯真麻烦')
						for(let i = 0; i < this.chirldOrder[0].orderDetails.length; i++){
							if(this.chirldOrder[0].orderDetails[i].goodsDeliveryType == 0){
								this.checkedCartListNormal.push(this.chirldOrder[0].orderDetails[i]);
								console.log(this.checkedCartListNormal)
							}else if(this.chirldOrder[0].orderDetails[i].goodsDeliveryType == 1){
								this.checkedCartListBig.push(this.chirldOrder[0].orderDetails[i]);
								console.log(this.checkedCartListNormal,'push')
							}
							
//							query += this.chirldOrder[0].orderDetails[i].goodsId + ',';
							query.push(this.chirldOrder[0].orderDetails[i].goodsCode);
						}
						this.cartList =this.checkedCartListNormal.concat(this.checkedCartListBig);  // 存所有的商品
						this.getGoodsNum(); //获取总共多少件
						this.getAllFlag(); //判断是否既有常规又又大件
						this.getGoodsInfo(query)
					}
				})
			},
	        //请求商品信息 获取最大加工时间 
	        getGoodsInfo(query){
	        	
//	        	let enterpriseid = window.api.enterpriseid;
//	        	let url = window.api.mall_goods_host + '/goodsRestApi/queryGoodsList';
//	        	let params = {
//      			enterpriseid:enterpriseid,
//      			goodsid:query,
//      		};
//      		let config = {
//	            	url:url,
//	            	method: 'GET',
//	            	params,
//	            };
				let enterpriseCode = window.api.enterpriseCode;
//				let enterpriseid = window.api.enterpriseId;
//	        	let url = 'http://172.19.6.213:33002/mallGoods/queryMallGoodsList';
	        	let url = window.api.goods_host+'/mallGoods/queryMallGoodsList';
	        	let params = {
        			enterpriseCode:enterpriseCode,
                    goodscodeList:query,
                    storeCode:localStorage.getItem('storeCode'),
                    usePlatform:'wap'
        		};
				let config = {
	            	url:url,
	            	method: 'POST',
					data:params,
					headers: {
						sessionId: localStorage.getItem("sessionId"),
					}
	            };
	            console.log(query,'商品id');
	            axios(config).then(async (res)=>{
	            	//接口 更換 獲取商品信息
	             	console.log(res.data.data[0],'請求商品信息');
	             	var arr = res.data.data[0];
	             	
	             	for(let i = 0; i <  res.data.data[0].length; i++){
	             		
	             		if(arr[i].distributiontype === 0 ){
	             			this.listNormal.push(arr[i]);
	             		}else if(arr[i].distributiontype === 1 ){
	             			
	             			this.listBig.push(arr[i]);
//	             			console.log(this.listBig,'大件商品哦');
	             		}
	             	}
	             	
	             	
	             	this.maxTimeNormal = this.getMaxTime(this.listNormal);
					this.maxTimeBig = this.getMaxTime(this.listBig);
					
					//请求昌松的可选时间接口   获取时间列表
					if(this.checkedCartListNormal.length && this.checkedCartListBig.length){
						let arr = [this.getTimeList(this.maxTimeNormal,0),this.getTimeList(this.maxTimeBig,1)]
						await Promise.all(arr);
					}else if(this.checkedCartListNormal.length > 0){
						await this.getTimeList(this.maxTimeNormal,0);
					}else if(this.checkedCartListBig.length > 0){
						await this.getTimeList(this.maxTimeBig,1);
					}
                    this.setOrderFlag(true);  // 获取配送时间信息  允许用户点击提交订单按钮
//					console.log(this.maxTimeNormal,'55');
//					console.log(this.maxTimeBig,'66');
	            })
	        },
	        getMaxTime(arr){
        		console.log(arr,"常规 大件");
        		if(arr.length > 0){
        			var max1 = arr[0].distributionpreparationtime;
	        		var max2 = arr[0].distributionprocessingtime;
	        		var myArr = [];
	        		for(let i = 0; i < arr.length; i++){
	        			if(max1 < arr[i].distributionpreparationtime){
	        				max1 = arr[i].distributionpreparationtime;
	        			}
	        			if(max2 < arr[i].distributionprocessingtime){
	        				max2 = arr[i].distributionprocessingtime;
	        			}
	        		}
	        		myArr.push(max1);
	        		myArr.push(max2);
	        		
	        		return myArr;
        		}
        	},
        	//获取时间列表方法
        	getTimeList(data,type){
        		console.log(data,'时间列表');
        		if(!data){
        			console.log(99)
        			return
        		}
        		let params = {
        			readyTm:data[0],
        			machineTm:data[1],
					storeCode:localStorage.getItem('storeCode')
        		};
        		
//      		window.api.local_host
//        		'http://172.19.5.196:8112'
        		let config = {
	            	url:window.api.trade_host+"/delivery_config/tm_interval/"+type,
	            	method: 'GET',
	            	params,
	            	headers: {'sessionId': localStorage.getItem('sessionId')},
	          };
	          return axios(config).then((res)=>{
					   
	           		if(type === 0){
	           			this.normalTimeList = res.data.data;
	           			console.log(this.normalTimeList,'常规商品的配送时间')
	           			//初始化store中的时间
	           			for(let i = 0; i < res.data.data[0].deliveryList.length;i++){
	           				if(res.data.data[0].deliveryList[i].valid == 1){
                                this.setTimeNormal(res.data.data[0].deliveryList[i]);
	           					return
	           				}
	           			}
//	           			console.log(res.data.data[0],'获取到常规1');
//	           			console.log(this.normalTimeList,'获取到了normal')
	           		}else if(type === 1){
	           			
	           			this.bigTimeList = res.data.data;
						console.log(this.bigTimeList,'this.bigTimeList')
	           			for(let i = 0; i < res.data.data[0].deliveryList.length;i++){
	           				if(res.data.data[0].deliveryList[i].valid == 1){
                                this.setTimeBig(res.data.data[0].deliveryList[i]); 
	           					return
	           				}
	           			}
	           			console.log(res.data.data,'获取到了big')
//	           			console.log(this.bigTimeList,'获取到了big')
	           		}
	           })
        	},
        	
        	//修改时间
        	changeTime(){
        		
        		
        		let flagXiaDan = this.makeSureTime();
				if(!flagXiaDan){
					return
				}
        		// 判断配送时间接口是否已返回数据 并且有可用的配送时间 没返回就禁止下单
                if(!this.getOrderFlag){
                    Toast({
                        message: '暂无可配送时间',
                        duration: 1000,
                        type:'fail'
                    });
                    return;
                }
        		
        		var orderNo = this.$route.query.orderNo;
//      		orderDeliveryTms
				var orderDeliveryTms = [];
				console.log(this.getTimeNormal,'aaaa');
				console.log(this.getTimeBig,'bbbb');
				if(this.getTimeNormal){
					var objNormal = {
						parentOrderNo:orderNo,
	        			expectedTmStart:this.getTimeNormal.startPeriodTm,
						expectedTmEnd:this.getTimeNormal.endPeriodTm,
						showStartTm:this.getTimeNormal.startBookTm,
						showEndTm:this.getTimeNormal.endBookTm,
	        			goodsDeliveryType:0
					}
				}
				if(this.getTimeBig){
					var objBig = {
						parentOrderNo:orderNo,
	        			expectedTmStart:this.getTimeBig.startPeriodTm,
						expectedTmEnd:this.getTimeBig.endPeriodTm,
						showStartTm:this.getTimeBig.startBookTm,
						showEndTm:this.getTimeBig.endBookTm,
	        			goodsDeliveryType:1
					}
				}
				
        		
        		if(this.checkedCartListNormal.length > 0){
        			orderDeliveryTms.push(objNormal);
        		}
  				if(this.checkedCartListBig.length > 0){
  					orderDeliveryTms.push(objBig);
  				}
        		
				console.log(orderDeliveryTms,'数组');
        		let config = {
	            	url:window.api.trade_host+"/orderDeliveryTm/update",
	            	method: 'POST',
	            	data: [...orderDeliveryTms],
	            	headers: {
	            		'sessionId': window.localStorage.getItem('sessionId'),
	            		"Content-Type": "application/json"
	            	},
	           };
	           console.log(config.url)
	           axios(config).then((res)=>{
	           		
	           		if(res.data.returnCode === 1){
	           			console.log(res.data.returnCode,55666666);
	           			this.topay();
	           		}else{
	           			
	           			Toast({
		                        message: res.data.msg,/*修改配送时间失败*/
		                        type: 'fail',
		                        duration: 1000
		                });
	           		}
	           })
        	},
        	makeSureTime(){
        		let flag = this.$refs.nomalTimeshow.chooseFlag;
        		let flagXiaDan = false;
//      		console.log()
        		if(!flag){
        			this.$refs.nomalTimeshow.showPop();
        		}else{
        			flagXiaDan = true;
        		}
				return flagXiaDan;
        	},
        	//去支付 
        	topay(){
				
        		var orderNo = this.$route.query.orderNo;
        		this.$router.replace('pay/'+orderNo);
//	            var u = navigator.userAgent;
//
//	            var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
//	            var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
//	            if (isAndroid) {
//					this.$router.push('apay/'+orderNo);
//	            }else if (isIOS) {
//	            	this.$router.push('ipay/'+orderNo);
//	            }else{
//	            	this.$router.push('apay/'+orderNo);
//	            }
        	}
			
	    },
		created () {
			this.getOrderInfo();
		},
		mounted () {
			// initDomTree(this.getDomTree[this.page]);
			
		},
		updated() {
			//页面更新完毕
			 initDomTree(this.getDomTree[this.page]);
		},
		beforeDestroy(){
            this.setOrderFlag(false);
	    	this.setTimeNormal({});
	    	this.setTimeBig({});
	    	this.setTimeSaveObj({});
	    },
	}
</script>

<style scoped="scoped">
	/*.content{
		flex: 1;
		overflow-y: auto;
	}
	.box{
		width: 100%;
	    height: 100%;
		display: flex;
		justify-content: space-between;
		flex-direction: column;
	}*/
    /* 解决配送时间样式布局bug */
    .zxSettle_acount {
		height: 3rem;
		background: rgba(255, 255, 255, 0.9);
		width: 100%;
		border-top: 1px solid #eaeaea;
		padding: 0.5rem 0.75rem 0;
	}
	.address_bj {
	    /*margin-top: 3rem;*/
	}
	.content {
	    width: 100%;
	    height: 100%;
	    display: flex;
	    flex-direction: column;
	    justify-content: space-between;
	}
	.scroller_list {
        overflow-y: auto;
    }
   	.iscroll_list {
	    height: 5.5rem !important;
	}
	.scroller_list{
		position: relative;
	}
</style>